﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CodeGame.LuaLibary
{
    static class luaLib_ui
    {
        [LuaHelpAttribute("Sets the color of normal messages")]
        public static void setNormalColor(int r, int g, int b)
        {
            Singletons.NormalText = new Microsoft.Xna.Framework.Color(r, g, b);
        }

        [LuaHelpAttribute("Sets the color of error messages")]
        public static void setErrorColor(int r, int g, int b)
        {
            Singletons.ErrorText = new Microsoft.Xna.Framework.Color(r, g, b);
        }

        [LuaHelpAttribute("Sets the color of entry")]
        public static void setEntryColor(int r, int g, int b)
        {
            Singletons.EntryText = new Microsoft.Xna.Framework.Color(r, g, b);
        }

        [LuaHelpAttribute("Sets the color of old entry")]
        public static void setOldEntryColor(int r, int g, int b)
        {
            Singletons.OldEntryColor = new Microsoft.Xna.Framework.Color(r, g, b);
        }

        [LuaHelpAttribute("Sets the color of the background")]
        public static void setBackground(int r, int g, int b)
        {
            Singletons.Background = new Microsoft.Xna.Framework.Color(r, g, b);
        }

        [LuaHelp("Sets the color of a network message")]
        public static void setNetwork(int r, int g, int b)
        {
            Singletons.NetworkColor = new Microsoft.Xna.Framework.Color(r, g, b);
        }

        [LuaHelp("Sets the background for windows")]
        public static void setWindow(int r, int g, int b, int a)
        {
            Singletons.WindowColor = new Microsoft.Xna.Framework.Color(r, g, b, a);
        }
    }
}
